package com.alibaba.citrus.ots.platform.enhance.api.scitem.group;

import com.alibaba.citrus.ots.platform.enhance.dto.api.request.IdQueryRequest;
import com.alibaba.citrus.ots.platform.enhance.dto.api.request.QueryScItemGroupRequest;
import com.alibaba.citrus.ots.platform.enhance.dto.api.response.ScItemGroupResponse;
import com.alibaba.citrus.ots.platform.enhance.sdo.ScItemGroupSDO;
import com.alibaba.cz.base.tool.page.PageResult;
import com.alibaba.cz.base.tool.result.Result;

import java.util.List;

/**
 * @author zls
 * @description: 货品组接口
 * @date 2021/9/7 15:30
 */
public interface ScItemGroupQueryService {


    /**
     * 根据id查询货品组
     * @param request
     * @return
     */
    Result<ScItemGroupResponse> getScItemGroupById(IdQueryRequest request);

    /**
     * 根据条件查询货品组
     * @param request
     * @return
     */
    Result<ScItemGroupResponse> getScItemGroup(QueryScItemGroupRequest request);

    /**
     * 分页查询货品组
     * @param request
     * @return
     */
    Result<PageResult<List<ScItemGroupSDO>>> pageQueryScItemGroupList(QueryScItemGroupRequest request);
}
